﻿public static class EntityTypes
{
    public const byte Article = 0;
    public const byte Root = 1;
    public const byte Category = 2;
	public const byte User = 3;
}

public static class EntityIDs
{
    public const long MainCategoryID = 21;
    public const long PublishCategoryID = 2;
    public const long CategoriesRootID = 3;
}

public static class PublishIndexes
{
    public const byte OpenPublish = 1;
    public const byte ClosePublish = 2;
}

public enum MyArticleTypes
{
	NotPublished = 1,
	Published,
	Closed
}

public class SubCategoryIndexes
{
	public const byte NotPublished_CreateTime = 1;
	public const byte PublishedFeatured_FeaturedTime = 1;
	public const byte PublishedNotFeatured_PublishTime = 1;
}

public enum CategoryRootIndexes
{
	CategoryName = 1
}

public class CategoryIndexes
{
	public const byte PublishTime = 1;
}

public class CategoryRelationTypes
{
	public const byte ChildCategory = 0;
	public const byte Article = 1;
}

public enum ArticleCategoryStatus
{
	NotPublishedNotFeatured = 1,
	NotPublishedFeatured,
	PublishedNotFeatured,
	PublishedFeatured
}
